﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TCPServer
{
    class ClickObj
    {
        int x;
        int y;
        int style;
        string data;
        int type;
        public ClickObj(int type,int style, string data, int x, int y)
        {
            this.x = x;
            this.y = y;
            this.data = data;
            this.style = style;
            this.type = type;
        }

        public int Style
        {
            set { style = value; }
            get { return style; }
        }

        public int X
        {
            set { x = value; }
            get { return x; }
        }
        public int Y
        {
            set { y = value; }
            get { return y; }
        }
        public string Data
        {
            set { data = value; }
            get { return data; }
        }

        public int Type
        {
            set { type = value; }
            get { return type; }
        }
    }
}
